package com.xlh.param.courseTest;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @author zhr 2019/4/13
 */
@Data
public class DuplicateParam {
    // 是否进行实验报告查重
    private Boolean checkReportDuplicate;
    // 实验报告查重百分比
    @Range(min = 0, max = 100, message = "查重百分比只能介于0-100之间的整数")
    private Integer reportDuplicatePercent;
    // 是否进行代码查重
    private Boolean checkCodeDuplicate;
    // 代码查重百分比
    @Range(min = 0, max = 100, message = "查重百分比只能介于0-100之间的整数")
    private Integer codeDuplicatePercent;
}
